﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Input;
using System.Windows.Controls;

namespace Client.Theme
{
    partial class MyTheme
    {

        public void btnClose_Click(object sender, RoutedEventArgs e)
        {
            Window w = Window.GetWindow((DependencyObject)sender);
            w.Close();
        }

        private void titleBar_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            Window w = Window.GetWindow((DependencyObject)sender);
            w.DragMove();
        }
    }
}
